#include "stdio.h"
#include "stdlib.h"



//软件开发中 注意野指针
//仔细观察malloc内存地址大小
//演示heap生长方向
int main()
{

	char *p1 = NULL;
	char *p2= NULL;
	p1 = (char *)malloc(16);
	p2 = (char *)malloc(16);

	printf("\n p1:%x, p2:%x", p1, p2);
	printf("\n &p1:%x, &p2:%x", &p1, &p2);

	return 0;
}
